﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTinTuc.ascx.cs" Inherits="SES.CMS.Module.ucTinTuc" %>
<div class="Tintuc">
    <a href="/Category/7/Tin-Tuc.aspx"><img src="/images/TinTuc.jpg" height="28px" width="333px" /></a>
    <%--<marquee direction="up" height="277px" width="335px" onmouseout="this.start()" onmouseover="this.stop()" scrollamount="1" scrolldelay="50" style="margin-top: 1px" truespeed="truespeed">--%>
        <asp:Repeater ID="rpt" runat="server">
            <ItemTemplate>
                <div class="tTinTuc">
                    <div class="tTinTuc-img">
                        <%--<a href='<%#"/Article/" + Eval("ArticleID") + "/" + (bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("Title").ToString()):FriendlyUrl(Eval("eTitle").ToString())%>'>--%>
                        <a href='/Article/<%#Eval("ArticleID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("Title").ToString()):FriendlyUrl(Eval("eTitle").ToString())%>'>
                            <img src="<%#"/Media/"+ Eval("ImageURL")%>" align="left" alt="<%#(bool)(Session["lang"].ToString()=="VN")?Eval("Title"):Eval("eTitle")%>"/>
                        </a>
                    </div>
                    <div class="tTinTuc-Mota">
                        <div class="tTintuc-MotaTitle">
                        <a href='/Article/<%#Eval("ArticleID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("Title").ToString()):FriendlyUrl(Eval("eTitle").ToString())%>'>
                            <%#(bool)(Session["lang"].ToString()=="VN")?Eval("Title"):Eval("eTitle") %>
                        </a>
                        </div>
                        <div class="tTintuc-MotaDesc">
                            <%#(bool)(Session["lang"].ToString() == "VN") ? WordCut(Eval("Description").ToString()) : WordCut(Eval("eDescription").ToString())%>
                        </div>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    <%--</marquee>--%>
</div><!--End .TinTuc-->